Output cadence in Training Center.
authorrobertl <robertl>
Wed, 4 Oct 2006 17:28:27 +0000 (17:28 +0000)
committerrobertl <robertl>
Wed, 4 Oct 2006 17:28:27 +0000 (17:28 +0000)
gtrnctr.c

index 5851fc616fe3f534afc0b8a1efac3798cd14d35e..b3885131f8708096413299daa71af62f081f483a 100644 (file)
--- a/gtrnctr.c
+++ b/gtrnctr.c
@@ -144,6 +144,10 @@ gtc_waypt_pr(const waypoint *wpt)
        if (wpt->heartrate) {
                gtc_write_xml(0, "<HeartRateBpm>%d</HeartRateBpm>\n", wpt->heartrate);
        }
+       if (wpt->cadence) {
+               gtc_write_xml(0, "<Cadence>%d</Cadence>\n", wpt->cadence);
+       }
+
 
        gtc_write_xml(-1, "</Trackpoint>\n");
 #endif